package org.example.bean;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Auther:Liu
 * @Testname:shopping
 * @Date:2025/8/20 11:56
 */
@Data
@NoArgsConstructor
public class shopping implements Serializable {
    @TableId
    private String id;

    private String userId;
    private String bookId;
    private Integer number;
    @TableLogic(delval = "1", value = "0")
    private Integer isDeleted;
    @TableField(exist = false)
    private String imageName;
    @TableField(exist = false)
    private String name;
    @TableField(exist = false)
    private Double price;
    @TableField(exist = false)
    private Double discountRate;
    @TableField(exist = false)
    private Double discountPrice;
    @TableField(exist = false)
    private String publisher;
}
